package com.ruoyi.food.mapper;

import java.util.List;
import com.ruoyi.food.domain.WarehouseOut;

/**
 * 粮食出库Mapper接口
 * 
 * @author ruoyi
 * @date 2025-04-13
 */
public interface WarehouseOutMapper 
{
    /**
     * 查询粮食出库
     * 
     * @param id 粮食出库主键
     * @return 粮食出库
     */
    public WarehouseOut selectWarehouseOutById(Long id);

    /**
     * 查询粮食出库列表
     * 
     * @param warehouseOut 粮食出库
     * @return 粮食出库集合
     */
    public List<WarehouseOut> selectWarehouseOutList(WarehouseOut warehouseOut);

    /**
     * 新增粮食出库
     * 
     * @param warehouseOut 粮食出库
     * @return 结果
     */
    public int insertWarehouseOut(WarehouseOut warehouseOut);

    /**
     * 修改粮食出库
     * 
     * @param warehouseOut 粮食出库
     * @return 结果
     */
    public int updateWarehouseOut(WarehouseOut warehouseOut);

    /**
     * 删除粮食出库
     * 
     * @param id 粮食出库主键
     * @return 结果
     */
    public int deleteWarehouseOutById(Long id);

    /**
     * 批量删除粮食出库
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWarehouseOutByIds(Long[] ids);
}
